import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
const store = () => new Vuex.Store({
    state: {
      nologin:true,
      userinfo:{},
      showlogin:false,
      token:"",
      counter: 0,
      routerBack:2,
      secondPage:false,
      secondTitle:"调查问卷",
      breadcrumbs:[
        {name:"首页",url:"/"}
      ]
    }
  })
  
  export default store